(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 10.4' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     15485,        554]
NotebookOptionsPosition[     10346,        391]
NotebookOutlinePosition[     13592,        482]
CellTagsIndexPosition[     13481,        476]
WindowTitle->Factor2
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[GridBox[{
   {Cell["FEYN CALC SYMBOL", "PacletNameCell"], Cell[TextData[{
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "See Also",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"See Also", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"Collect2\"\>":>Documentation`HelpLookup[
       "paclet:FeynCalc/ref/Collect2"]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"SeeAlso"]],
      LineSpacing->{1.4, 0}],
     "\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\
\[ThickSpace]",
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "URL",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"URL", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"FeynCalc/ref/Factor2\"\>":>
       None, "\<\"Copy Wolfram Documentation Center URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell["FeynCalc/ref/Factor2"]}, Visible -> False]]; 
        SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; Null], 
       Delimiter, "\<\"Copy web URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell[
              BoxData[
               MakeBoxes[
                Hyperlink[
                "http://reference.wolfram.com/language/FeynCalc/ref/Factor2.\
html"], StandardForm]], "Input", TextClipboardType -> "PlainText"]}, Visible -> 
            False]]; SelectionMove[
         DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; 
        Null], "\<\"Go to web URL\"\>":>FrontEndExecute[{
         NotebookLocate[{
           URL[
            StringJoin[
             If[
              TrueQ[DocumentationBuild`Make`Private`wsmlinkQ$87914], 
              "http://reference.wolfram.com/system-modeler/", 
              "http://reference.wolfram.com/language/"], 
             "FeynCalc/ref/Factor2", ".html"]], None}]}]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"URLMenu"]],
      LineSpacing->{1.4, 0}]
    }], "AnchorBar"]}
  }]], "AnchorBarGrid",
 GridBoxOptions->{GridBoxItemSize->{"Columns" -> {
     Scaled[0.65], {
      Scaled[0.34]}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, 
   "RowsIndexed" -> {}}},
 CellID->1],

Cell[TextData[{
 Cell["Factor2", "ObjectName"],
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{8, 0}],
    CacheGraphics->False],
   Spacer[8]]]],
 Cell[BoxData[""], "ObjectNameTranslation"]
}], "ObjectNameGrid"],

Cell[CellGroupData[{

Cell[BoxData[GridBox[{
   {"", Cell[TextData[{
     Cell[BoxData[
      RowBox[{"Factor2", "[", "poly", "]"}]], "InlineFormula"],
     " \[LineSeparator]",
     "factors a polynomial in a standard way. Factor2 works sometimes better \
than Factor on polynomials involving rationals with sums in the denominator. \
Factor2 uses Factor internally and is in general slower than Factor. There \
are four possible settings of the option Method (0,1,2,3). In general Factor \
will work faster than Factor2."
    }]]}
  }]], "Usage",
 GridBoxOptions->{
 GridBoxBackground->{
  "Columns" -> {{None}}, "ColumnsIndexed" -> {}, "Rows" -> {{None}}, 
   "RowsIndexed" -> {}}},
 CellID->982511436],

Cell[CellGroupData[{

Cell[TextData[Cell[BoxData[
 ButtonBox[Cell[TextData[{
   Cell[BoxData[
    InterpretationBox[
     StyleBox[
      GraphicsBox[{},
       BaselinePosition->Baseline,
       ImageSize->{6, 0}],
      CacheGraphics->False],
     Spacer[6]]]],
   "Details"
  }], "NotesFrameText"],
  Appearance->{Automatic, None},
  BaseStyle->None,
  ButtonFunction:>(FrontEndExecute[{
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], All, ButtonCell], 
     FrontEndToken["OpenCloseGroup"], 
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], After, CellContents]}]& ),
  Evaluator->None,
  Method->"Preemptive"]]]], "NotesSection",
 WholeCellGroupOpener->True,
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->1594849406],

Cell["", "SectionHeaderSpacer"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Options", "[", "Factor2", "]"}]], "Input",
 CellLabel->"In[191]:="],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{"FactorFull", "\[Rule]", "False"}], ",", 
    RowBox[{"Method", "\[Rule]", "3"}]}], "}"}], TraditionalForm]], "Output",
 ImageSize->{204, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[191]="]
}, Open  ]]
}, Closed]]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "PrimaryExamplesSection",
 WholeCellGroupOpener->True,
 CellTags->"PrimaryExamplesSection",
 CellID->875411271],

Cell[CellGroupData[{

Cell[TextData[{
 "Basic Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "ExampleSection", "ExampleSection",
 WholeCellGroupOpener->True,
 CellID->1624003907],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{
  RowBox[{"(", 
   RowBox[{"a", "-", "x"}], ")"}], 
  RowBox[{"(", 
   RowBox[{"b", "-", "x"}], ")"}]}]], "Input",
 CellTags->"Factor2",
 CellLabel->"In[1]:=",
 CellID->1709627606],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{"(", 
    RowBox[{"a", "-", "x"}], ")"}], " ", 
   RowBox[{"(", 
    RowBox[{"b", "-", "x"}], ")"}]}], TraditionalForm]], "Output",
 ImageSize->{107, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Factor2",
 CellLabel->"Out[1]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{
   RowBox[{"Factor2", "[", "%", "]"}], ",", " ", 
   RowBox[{"Factor", "[", "%", "]"}]}], "}"}]], "Input",
 CellTags->"Factor2",
 CellLabel->"In[2]:=",
 CellID->1823984490],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{
     RowBox[{"(", 
      RowBox[{"a", "-", "x"}], ")"}], " ", 
     RowBox[{"(", 
      RowBox[{"b", "-", "x"}], ")"}]}], ",", 
    RowBox[{
     RowBox[{"-", 
      RowBox[{"(", 
       RowBox[{"a", "-", "x"}], ")"}]}], " ", 
     RowBox[{"(", 
      RowBox[{"x", "-", "b"}], ")"}]}]}], "}"}], TraditionalForm]], "Output",
 ImageSize->{242, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Factor2",
 CellLabel->"Out[2]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Expand", "[", 
  RowBox[{
   RowBox[{"(", 
    RowBox[{"a", "-", "b"}], ")"}], 
   RowBox[{"(", 
    RowBox[{"a", "+", "b"}], ")"}]}], "]"}]], "Input",
 CellTags->"Factor2",
 CellLabel->"In[3]:=",
 CellID->3094581],

Cell[BoxData[
 FormBox[
  RowBox[{
   SuperscriptBox["a", "2"], "-", 
   SuperscriptBox["b", "2"]}], TraditionalForm]], "Output",
 ImageSize->{58, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Factor2",
 CellLabel->"Out[3]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Factor", "[", "%", "]"}]], "Input",
 CellTags->"Factor2",
 CellLabel->"In[4]:=",
 CellID->791609042],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{"(", 
    RowBox[{"a", "-", "b"}], ")"}], " ", 
   RowBox[{"(", 
    RowBox[{"a", "+", "b"}], ")"}]}], TraditionalForm]], "Output",
 ImageSize->{107, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Factor2",
 CellLabel->"Out[4]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Factor2", "[", "%%", "]"}]], "Input",
 CellTags->"Factor2",
 CellLabel->"In[5]:=",
 CellID->880415397],

Cell[BoxData[
 FormBox[
  RowBox[{
   SuperscriptBox["a", "2"], "-", 
   SuperscriptBox["b", "2"]}], TraditionalForm]], "Output",
 ImageSize->{58, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Factor2",
 CellLabel->"Out[5]="]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Factor2", "[", 
  RowBox[{"%%%", ",", 
   RowBox[{"FactorFull", "\[Rule]", "True"}]}], "]"}]], "Input",
 CellTags->"Factor2",
 CellLabel->"In[6]:=",
 CellID->17862753],

Cell[BoxData[
 FormBox[
  RowBox[{
   RowBox[{"(", 
    RowBox[{"a", "-", "b"}], ")"}], " ", 
   RowBox[{"(", 
    RowBox[{"a", "+", "b"}], ")"}]}], TraditionalForm]], "Output",
 ImageSize->{107, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellTags->"Factor2",
 CellLabel->"Out[6]="]
}, Open  ]]
}, Open  ]],

Cell["", "SectionFooterSpacer"]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "See Also"
}], "SeeAlsoSection",
 WholeCellGroupOpener->True,
 CellID->1255426704],

Cell[TextData[{
 StyleBox[ButtonBox["Collect2",
  BaseStyle->"Link",
  ButtonData->"paclet:FeynCalc/ref/Collect2",
  ButtonNote->"Collect2"],
  FontFamily->"Verdana"],
 "."
}], "SeeAlso"]
}, Open  ]],

Cell[" ", "FooterCell"]
},
Saveable->False,
ScreenStyleEnvironment->"Working",
WindowSize->{725, 750},
WindowMargins->{{-10, Automatic}, {Automatic, -8}},
WindowTitle->"Factor2",
TaggingRules->{
 "ModificationHighlight" -> False, "ColorType" -> "SymbolColor", "LinkTrails" -> 
  GridBox[{{
      RowBox[{
        ButtonBox[
        "FeynCalc", ButtonData -> "paclet:FeynCalc/guide/FeynCalc", 
         BaseStyle -> {"Link", "DockedLinkTrail"}]}]}}, ColumnAlignments -> 
    Left], "HasOptions" -> False, "ExampleCounter" -> 1, "NeedPlatMsgIn" -> 
  None, "RootCaptions" -> "", 
  "Metadata" -> {
   "built" -> "{2020, 6, 20, 19, 4, 51.096018}", 
    "history" -> {"9.0", "", "", ""}, "context" -> "FeynCalc`", 
    "keywords" -> {}, "specialkeywords" -> {}, 
    "tutorialcollectionlinks" -> {}, "index" -> True, "label" -> 
    "Feyn Calc Symbol", "language" -> "en", "paclet" -> "FeynCalc", "status" -> 
    "None", "summary" -> 
    "Factor2[poly] factors a polynomial in a standard way. Factor2 works \
sometimes better than Factor on polynomials involving rationals with sums in \
the denominator. Factor2 uses Factor internally and is in general slower than \
Factor. There are four possible settings of the option Method (0,1,2,3). In \
general Factor will work faster than Factor2.", "synonyms" -> {}, 
    "tabletags" -> {}, "title" -> "Factor2", "titlemodifier" -> "", 
    "windowtitle" -> "Factor2", "type" -> "Symbol", "uri" -> 
    "FeynCalc/ref/Factor2"}, "SearchTextTranslated" -> ""},
CellContext->"Global`",
FrontEndVersion->"10.4 for Linux x86 (64-bit) (April 11, 2016)",
StyleDefinitions->Notebook[{
   Cell[
    StyleData[
    StyleDefinitions -> FrontEnd`FileName[{"Wolfram"}, "Reference.nb"]]], 
   Cell[
    StyleData["Input"], CellContext -> "Global`"], 
   Cell[
    StyleData["Output"], CellContext -> "Global`"]}, Visible -> False, 
  FrontEndVersion -> "10.4 for Linux x86 (64-bit) (April 11, 2016)", 
  StyleDefinitions -> "Default.nb"]
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{
 "PrimaryExamplesSection"->{
  Cell[5845, 182, 387, 15, 31, "PrimaryExamplesSection",
   CellTags->"PrimaryExamplesSection",
   CellID->875411271]},
 "Factor2"->{
  Cell[6478, 211, 204, 8, 27, "Input",
   CellTags->"Factor2",
   CellID->1709627606],
  Cell[6685, 221, 310, 11, 37, "Output",
   CellTags->"Factor2"],
  Cell[7032, 237, 212, 7, 27, "Input",
   CellTags->"Factor2",
   CellID->1823984490],
  Cell[7247, 246, 521, 19, 37, "Output",
   CellTags->"Factor2"],
  Cell[7805, 270, 238, 9, 27, "Input",
   CellTags->"Factor2",
   CellID->3094581],
  Cell[8046, 281, 261, 9, 37, "Output",
   CellTags->"Factor2"],
  Cell[8344, 295, 124, 4, 27, "Input",
   CellTags->"Factor2",
   CellID->791609042],
  Cell[8471, 301, 310, 11, 37, "Output",
   CellTags->"Factor2"],
  Cell[8818, 317, 126, 4, 27, "Input",
   CellTags->"Factor2",
   CellID->880415397],
  Cell[8947, 323, 261, 9, 37, "Output",
   CellTags->"Factor2"],
  Cell[9245, 337, 191, 6, 27, "Input",
   CellTags->"Factor2",
   CellID->17862753],
  Cell[9439, 345, 310, 11, 37, "Output",
   CellTags->"Factor2"]}
 }
*)
(*CellTagsIndex
CellTagsIndex->{
 {"PrimaryExamplesSection", 12414, 438},
 {"Factor2", 12548, 442}
 }
*)
(*NotebookFileOutline
Notebook[{
Cell[579, 21, 2997, 74, 53, "AnchorBarGrid",
 CellID->1],
Cell[3579, 97, 284, 11, 45, "ObjectNameGrid"],
Cell[CellGroupData[{
Cell[3888, 112, 683, 16, 135, "Usage",
 CellID->982511436],
Cell[CellGroupData[{
Cell[4596, 132, 739, 24, 31, "NotesSection",
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->1594849406],
Cell[5338, 158, 31, 0, 70, "SectionHeaderSpacer"],
Cell[CellGroupData[{
Cell[5394, 162, 91, 2, 70, "Input"],
Cell[5488, 166, 296, 9, 37, "Output"]
}, Open  ]]
}, Closed]]
}, Open  ]],
Cell[CellGroupData[{
Cell[5845, 182, 387, 15, 31, "PrimaryExamplesSection",
 CellTags->"PrimaryExamplesSection",
 CellID->875411271],
Cell[CellGroupData[{
Cell[6257, 201, 196, 6, 26, "ExampleSection",
 CellID->1624003907],
Cell[CellGroupData[{
Cell[6478, 211, 204, 8, 27, "Input",
 CellTags->"Factor2",
 CellID->1709627606],
Cell[6685, 221, 310, 11, 37, "Output",
 CellTags->"Factor2"]
}, Open  ]],
Cell[CellGroupData[{
Cell[7032, 237, 212, 7, 27, "Input",
 CellTags->"Factor2",
 CellID->1823984490],
Cell[7247, 246, 521, 19, 37, "Output",
 CellTags->"Factor2"]
}, Open  ]],
Cell[CellGroupData[{
Cell[7805, 270, 238, 9, 27, "Input",
 CellTags->"Factor2",
 CellID->3094581],
Cell[8046, 281, 261, 9, 37, "Output",
 CellTags->"Factor2"]
}, Open  ]],
Cell[CellGroupData[{
Cell[8344, 295, 124, 4, 27, "Input",
 CellTags->"Factor2",
 CellID->791609042],
Cell[8471, 301, 310, 11, 37, "Output",
 CellTags->"Factor2"]
}, Open  ]],
Cell[CellGroupData[{
Cell[8818, 317, 126, 4, 27, "Input",
 CellTags->"Factor2",
 CellID->880415397],
Cell[8947, 323, 261, 9, 37, "Output",
 CellTags->"Factor2"]
}, Open  ]],
Cell[CellGroupData[{
Cell[9245, 337, 191, 6, 27, "Input",
 CellTags->"Factor2",
 CellID->17862753],
Cell[9439, 345, 310, 11, 37, "Output",
 CellTags->"Factor2"]
}, Open  ]]
}, Open  ]],
Cell[9776, 360, 31, 0, 29, "SectionFooterSpacer"]
}, Open  ]],
Cell[CellGroupData[{
Cell[9844, 365, 270, 12, 31, "SeeAlsoSection",
 CellID->1255426704],
Cell[10117, 379, 187, 7, 56, "SeeAlso"]
}, Open  ]],
Cell[10319, 389, 23, 0, 41, "FooterCell"]
}
]
*)

(* End of internal cache information *)

